<div class="modal fade" id="cartModal" tabindex="-1" role="dialog" aria-labelledby="toCartLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel"><?php echo translate("add_to_cart"); ?></h4>
      </div>
      <div class="modal-body">
      	
      	<div class="productDetails">
			
		</div>
		<div class="clearfix"></div>

      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo translate("cancel");?></button>
        <button type="button" class="btn btn-danger modalCart" id="addToCart"><?php echo translate("buy");?></button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<?php if(!isset($page["page_slug"]) || $page["page_slug"] != "login"):?>
<div class="modal fade" id="addCommentDialog" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="false">
  	<div class="modal-dialog">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	        <h4 class="modal-title" id="passwordChangeDialogLabel"><?php echo translate("add_comment"); ?></h4>
	      </div>
	      <div class="modal-body">
	      	<div class="alert alert-danger hide" ></div>
	      	<form method="post" action="#">
		      	<div class="form-group">
		      		<label for="name"><?php echo translate("name"); ?></label>
				    <input type="text" class="form-control" id="comment_name" name="name" value="<?php echo @$client["name"]; ?>" placeholder="<?php echo  translate("name");?>" />
			  	</div>
			  	
			  	<div class="form-group">
		      		<label for="email"><?php echo translate("email"); ?></label>
				    <input type="email" class="form-control" id="comment_email" name="email" value="<?php echo @$client["email"]; ?>" placeholder="<?php echo  translate("email");?>" />
			  	</div>
			  	
			  	<div class="form-group">
		      		<label for="comment"><?php echo translate("comment"); ?></label>
				    <textarea id="comment" name="comment" class="form-control" placeholder="<?php echo translate("comment"); ?>"></textarea>
			  	</div>
			  	<input type="hidden" id="comment_type" name="comment_type" />
			  	<input type="hidden" id="item_id" name="item_id" />
		  	</form>
	      </div>
	      <div class="modal-footer">
      	 	<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo translate("cancel");?></button>
    		<button type="button" class="btn btn-default btn-danger" id="submitComment"><?php echo translate("send");?></button>
	      </div>
	    </div><!-- /.modal-content -->
 	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<div class="modal fade" id="addQuestionDialog" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="false">
  	<div class="modal-dialog">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	        <h4 class="modal-title" id="passwordChangeDialogLabel"><?php echo translate("add_question"); ?></h4>
	      </div>
	      <div class="modal-body">
	      	<div class="alert alert-danger hide" ></div>
	      	<form method="post" action="#">
		      	<div class="form-group">
		      		<label for="name"><?php echo translate("name"); ?></label>
				    <input type="text" class="form-control" id="question_name" value="<?php echo @$client["name"]; ?>" name="name" placeholder="<?php echo  translate("name");?>" />
			  	</div>
			  	
			  	<div class="form-group">
		      		<label for="email"><?php echo translate("email"); ?></label>
				    <input type="email" class="form-control" id="question_email" value="<?php echo @$client["email"]; ?>" name="email" placeholder="<?php echo  translate("email");?>" />
			  	</div>
			  	
			  	<div class="form-group">
		      		<label for="comment"><?php echo translate("question"); ?></label>
				    <textarea id="question" name="question" class="form-control" placeholder="<?php echo translate("question"); ?>"></textarea>
			  	</div>
			  	<input type="hidden" id="product_id" name="product_id" />
		  	</form>
	      </div>
	      <div class="modal-footer">
      	 	<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo translate("cancel");?></button>
    		<button type="button" class="btn btn-default btn-danger" id="submitQuestion"><?php echo translate("send");?></button>
	      </div>
	    </div><!-- /.modal-content -->
 	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<?php endif; ?>

<div class="modal fade" id="qouteModal" tabindex="-1" role="dialog" aria-labelledby="qouteModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="qouteModalLabel"><?php echo translate("qoute_request"); ?></h4>
      </div>
      <div class="modal-body">
      	
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo translate("cancel");?></button>
        <button type="button" class="btn btn-danger" id="sendQuote"><?php echo translate("send");?></button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<?php if(isset($page["page_slug"]) && $page["page_slug"] == "login"):?>
	<div class="modal fade" id="forgotPasswordDialog" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="false" data-backdrop="static" data-keyboard="false">
	  	<div class="modal-dialog">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		        <h4 class="modal-title" id="forgotPasswordDialogLabel"><?php echo translate("forgot_password"); ?></h4>
		      </div>
		      <div class="modal-body">
		      	<p><?php echo translate("forgot_your_password_text");?></p>
		      	<div class="alert alert-danger hide" ></div>
		      	<div class="form-group">
		      		<label for="email_address"><?php echo translate("email"); ?></label>
				    <input type="email" class="form-control" id="email_address" name="email_address" placeholder="<?php echo  translate("email");?>" />
			  	</div>
		      </div>
		      <div class="modal-footer">
		        	<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo translate("cancel");?></button>
		        	<button type="button" class="btn btn-default btn-danger" data-dismiss="modal"><?php echo translate("submit");?></button>
		      </div>
		    </div><!-- /.modal-content -->
	 	</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->
<?php endif; ?>

<?php if(isset($page["page_slug"]) && $page["page_slug"] == "account" && isset($client["id"])): ?>
	<div class="modal fade" id="passwordChangeDialog" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="false" data-backdrop="static" data-keyboard="false">
	  	<div class="modal-dialog">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		        <h4 class="modal-title" id="passwordChangeDialogLabel"><?php echo translate("change_password"); ?></h4>
		      </div>
		      <div class="modal-body">
		      	<div class="alert alert-danger hide" ></div>
		      	<form method="post" action="#">
			      	<div class="form-group">
			      		<label for="password"><?php echo translate("old_password"); ?></label>
					    <input type="password" class="form-control" id="old_password" name="old_password" placeholder="<?php echo  translate("old_password");?>" />
				  	</div>
				  	
				  	<div class="form-group">
			      		<label for="new_password"><?php echo translate("new_password"); ?></label>
					    <input type="password" class="form-control" id="new_password" name="new_password" placeholder="<?php echo  translate("new_password");?>" />
				  	</div>
				  	
				  	<div class="form-group">
			      		<label for="new_password_again"><?php echo translate("new_password_again"); ?></label>
					    <input type="password" class="form-control" id="new_password_again" name="new_password_again" placeholder="<?php echo  translate("new_password_again");?>" />
				  	</div>
				  	
			  	</form>
		      </div>
		      <div class="modal-footer">
	      	 	<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo translate("cancel");?></button>
        		<button type="button" class="btn btn-default btn-danger" data-dismiss="modal"><?php echo translate("save");?></button>
		      </div>
		    </div><!-- /.modal-content -->
	 	</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->
<?php endif; ?>

<div class="modal fade" id="messageDialog" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="false">
  	<div class="modal-dialog">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	        <h4 class="modal-title" id="messageDialogLabel"><?php echo translate("message"); ?></h4>
	      </div>
	      <div class="modal-body">
	      	
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo translate("close");?></button>
	      </div>
	    </div><!-- /.modal-content -->
 	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
